package com.erik.lin.domain;

/**
 * Created by Erik on 2017/4/5.
 */
public class Cat extends Animal {

    private String color;

    public Cat(int age, String gender, String color) {
        super(age, gender);
        this.color = color;
    }

    @Override
    public String toString() {
        return "Cat{" +
                "color='" + color + '\'' +
                '}';
    }

    public Cat() {

    }

    public String getColor() {

        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
